Revert "tests: skip test-commit-sign.sh when not root"
authorDan Nicholson <nicholson@endlessm.com>
Wed, 3 Jun 2015 20:02:41 +0000 (13:02 -0700)
committerColin Walters <walters@verbum.org>
Fri, 5 Jun 2015 00:58:26 +0000 (20:58 -0400)
This reverts commit d3545b0661f3247cd8c106e64a71052ce9952243. Since the
test is now using the temporary copy of the gpg homedir, it is no longer
owned by root.

tests/test-commit-sign.sh

index 886e824a8fe1790f5191e946b741963c5cf138b2..2288d09bd10eb00ebe0c6eec47be12af02360583 100755 (executable)
@@ -23,12 +23,6 @@ if ! ${CMD_PREFIX} ostree --version | grep -q -e '\+gpgme'; then
     exit 77
 fi
 
-# Skip the test when non-root as gpgme would not read files owned by
-# another user.
-if test "$(id -u)" != "0"; then
-    exit 77
-fi
-
 . $(dirname $0)/libtest.sh
 
 keyid="472CDAFA"